package javaCode.chapter03;

public class 位运算符01 {

    public static void main(String[] args) {

        System.out.println(1>>2); //0
        System.out.println(1<<2); //4
        System.out.println(4<<3); // 4 * 2 * 2 * 2 = 32
        System.out.println(15<<3);// 15/2/2=3
        System.out.println(-10.5%3); // -10.5-(int)-10.5/3*3=-10.5+9=1.5
        System.out.println(10%2);



    }
}
